<template>
    <div class="coupon-wrap">
        <div class="box-content">
            <div class="box-img">
                <image
                    class="img"
                    src="https://img1.baidu.com/it/u=2044833022,3762569909&fm=253&fmt=auto&app=138&f=JPEG?w=889&h=500"
                    mode="aspectFill"
                />
            </div>
            <div class="right-box">
                <div>券名称</div>
                <div class="btn-wrap">
                    <div>2023-11-24 15:30分过期</div>
                    <div class="btn">领取</div>
                </div>
            </div>
        </div>
    </div>
</template>
<style scoped lang="scss">
.coupon-wrap {
    width: 100%;
    min-height: 100vh;
    background: rgb(243, 243, 243);
    .box-content {
        width: 100%;
        display: flex;
        border-radius: 10px;
        // height: 120px;
        padding-top: 10px;
        padding-left: 15px;
        padding-right: 15px;
        padding-bottom: 10px;
        background: #fff;
        box-sizing: border-box;
        .box-img {
            width: 80px;
            height: 80px;
            margin-right: 15px;
            .img {
                width: 100%;
                height: 100%;
                border-radius: 10px;
            }
        }
        .right-box{
            display: flex;
            flex-direction: column;
            justify-content: center;
            justify-content: space-between;
            align-content: space-between;
            .btn-wrap{
                display: flex;
                // width: 250px;
                height: 40px;
                width: 100%;
                justify-content: space-between;
                align-items: center;
                .btn{
                    width: 40px;
                    height: 20px;
                    font-size: 12px;
                    text-align: center;
                    color: #fff;
                    line-height: 20px;
                    border-radius: 10px;
                    background: rgb(17, 154, 255);
                }
            }
            
        }
    }
}
</style>